<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!doctype html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>编辑表单</title>
    
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<jsp:include page="/WEB-INF/views/common.jsp"></jsp:include>
	<script type="text/javascript" src="<%=path%>/resources/script/workflow/forms/forms_add.js"></script>

  </head>
  
  <body>
    
    <div class="easyui-layout" fit="true">
   		<div region="center" border="false">
		<form id="form" method="post">
			<input id="formTypeId" name="formTypeId" value="${forms.formTypeId }" type="hidden" />
			<table class="edit-table">
				<tr>
					<th>表单名称：</th>
					<td><input id="formName" name="formName" value="${forms.formName }" class="easyui-validatebox edit-input" style="width: 250px;" /></td>
				</tr>
				<tr>
					<th>表单编码：</th>
					<td><input id="formCode" name="formCode" value="${forms.formCode }" class="easyui-validatebox edit-input" style="width: 250px;" /></td>
				</tr>
				<tr>
					<th>新增Url：</th>
					<td><input id="addUrl" name="addUrl" value="${forms.addUrl }" class="easyui-validatebox edit-input" style="width: 250px;" /></td>
				</tr>
				<tr>
					<th>编辑Url：</th>
					<td><input id="editUrl" name="editUrl" value="${forms.editUrl }" class="easyui-validatebox edit-input" style="width: 250px;" /></td>
				</tr>
				<tr>
					<th>详情Url：</th>
					<td>
						<input id="detailUrl" name="detailUrl" value="${forms.detailUrl }" class="easyui-validatebox edit-input" style="width: 250px;" />
					</td>
				</tr>
				<tr>
					<th>主机Url：</th>
					<td><input id="hostUrl" name="hostUrl" value="${forms.hostUrl }" class="easyui-validatebox" style="width: 250px;" /></td>
				</tr>
			</table> 
		</form>
   		</div>
   		<div region="south" border="false" style="text-align: right; height: 35px; line-height: 8px; padding:5px 5px 0 0;">
   			<a id="btnSave" class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0);">确定</a>
   			<a id="btnCancel" class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0);">取消</a>
   		</div>
   	</div>
    
  </body>
</html>
